setAuthenticationRequired
open fun setAuthenticationRequired(authenticationRequired: Boolean): NotificationCompat.Action.Builder(source)
From API 31, sets whether the OS should only send this action's PendingIntent on an unlocked device. If this is true and the device is locked when the action is invoked, the OS will show the keyguard and require successful authentication before invoking the intent. If this is false and the device is locked, the OS will decide whether authentication should be required.